//
//  NSString+Extras.h
//  SEOBox
//
//  Created by Syd on 10-3-2.
//  Copyright 2010 MusicPeace.ORG. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface NSString (Extras)

- (BOOL) containsString:(NSString *)aString;
- (BOOL) containsString:(NSString *)aString ignoringCase:(BOOL)flag;
- (int)countSubstring:(NSString *)aString ignoringCase:(BOOL)flag;
- (NSString *)stringByTrimmingWhitespace;
- (NSString *)flattenHTMLAndTrim:(BOOL)trim;
- (NSString *)removeJavascriptAndTrim:(BOOL)trim;
- (NSString *)removeCSSAndTrim:(BOOL)trim;
- (NSMutableArray *)stringTokens;
- (float) IDFForToken:(NSString *)aToken;
- (float) TFForToken:(NSString *)aToken;
- (NSString *)htmlTitle;
- (NSString *)htmlMetaDescription;
- (NSArray *)htmlMetaKeywords;
@end
